import Ajv from "ajv";
import postgres from "postgres";

const pgConfig = {
    host: "95.169.25.181",
    port: 5432,
    database: "dbmt2309",
    username: "postgres",
    password: "123"
};

// 创建 PostgreSQL 连接实例
const db = postgres(pgConfig);

const ajv = new Ajv()





async function main() {


    const rows = await db`SELECT * FROM jporderroute WHERE pk =  565340`
    console.log(rows);

}

main()